﻿using System.Composition.Hosting;
using System.Reflection;

namespace Garden.d
{
    public static class Hoster
    {
        public static CompositionHost GetContainer()
        {
            var config = new ContainerConfiguration().WithAssembly(Assembly.GetExecutingAssembly());
            return config.CreateContainer();
        }
    }
}
